home *** CD-ROM | disk | FTP | other *** search
- head 1.2;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.2
- date 89.11.12.01.32.27; author rab; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 89.11.03.11.41.09; author rab; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.2
- log
- @Use _builtin_alloca if using gcc.
- @
- text
- @/*
- * alloca.h --
- *
- * Declarations of alloca() for the ds3100. Since the ds3100 has
- * a normal stack alloca is just a normal procedure. For other
- * machines such as the sparc it has to be a fancy builtin macro.
- *
- * Copyright 1989 Regents of the University of California
- * Permission to use, copy, modify, and distribute this
- * software and its documentation for any purpose and without
- * fee is hereby granted, provided that the above copyright
- * notice appear in all copies. The University of California
- * makes no representations about the suitability of this
- * software for any purpose. It is provided "as is" without
- * express or implied warranty.
- *
- * $Header: /sprite/src/lib/include/ds3100.md/RCS/alloca.h,v 1.1 89/11/03 11:41:09 rab Exp Locker: rab $ SPRITE (Berkeley)
- */
-
- #ifndef _ALLOCA_H
- #define _ALLOCA_H
-
- /* If compiled with GNU C, use the built-in alloca */
- #ifdef __GNUC__
- #define alloca __builtin_alloca
- #else
- extern char *alloca();
- #endif
-
- #endif /* _ALLOCA_H */
-
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d17 1
- a17 1
- * $Header: /sprite/src/lib/include/sun3.md/RCS/alloca.h,v 1.1 89/07/21 14:44:23 rab Exp $ SPRITE (Berkeley)
- d23 4
- d28 1
- @
-